package com.dc.designPattern._9_facade.impl;

/**
 * Description: DVD 播放器
 * @author: gdc
 * @date: 2021/3/16
 * @version 1.0
 */
public class DVDPlayer {

    private static DVDPlayer INSTANCE = new DVDPlayer();

    public static DVDPlayer getInstanc() {
        return INSTANCE;
    }

    public void on() {
        System.out.println(" DVD 打开 ");
    }
    public void off() {
        System.out.println(" DVD 关闭 ");
    }

    public void play() {
        System.out.println(" DVD 开始播放 ");
    }

    public void pause() {
        System.out.println(" DVD 暂停");
    }
}
